import axios from "./axios";

export function upLoadFile(formData) {
    return axios.post('/stock_change_record/excel_stock_in.do', formData, {
        headers: {'Content-Type': 'multipart/form-data'}
    }).then(res => Promise.resolve(res.data))
}

//upload_file
export function upLoadFiles(formData) {
    return axios.post('/file/uploadFileCDN', formData, {
        headers: {'Content-Type': 'multipart/form-data'}
    }).then(res => Promise.resolve(res.data))
}